package com.basic.hellorabbit.entity;

import lombok.Data;

import java.util.HashSet;
import java.util.Set;

/**
* @Description:    角色
* @Author:         Joe
* @CreateDate:     2020/3/22 15:42
*/
@Data
public class Role {
    private Integer rid;
    private String name;
    private Set<Permission> permissions = new HashSet<>();
    private Set<User> users = new HashSet<>();
}
